package com.ruoyi.system.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain.FileManagement;
import org.springframework.core.io.FileSystemResource;
import org.springframework.http.ResponseEntity;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface FileService {

    AjaxResult getPage();

    AjaxResult deleteByName(String name);

    ResponseEntity<FileSystemResource> downloadByName(String name, HttpServletResponse response);
}
